<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ include file="/pages/jsp/internal/include.jsp" %>

<div class="inner_cont">

<h2><fmt:message key="label.activateUser"/></h2>

<span class="note">
	
	<fmt:message key="page.activateUser.description"/>
	<c:forEach items="${model.messages}" var="message">
	    	<div id="message"><fmt:message key="${message}"/></div>
	</c:forEach>
	
	<c:forEach items="${model.errors}" var="error">
	    	<div id="error">
	    		<fmt:message key="${error.key}">
	    			<fmt:param value="${error.param1}"/>
	    		</fmt:message>
	    	</div>
	    	
	</c:forEach>
</span>

 <form id="activateForm" class="form" method="post" action="<c:url value="/user/activateUser.htm"/>">

  <table class="tableForm" cellspacing="0" cellpadding="0">
    <tr>
      <th scope="row"><fmt:message key="label.mail"/></th>
      <td>
        <input type="text" name="mail" value="<c:out value="${model.user.mail}"/>"/>
      </td>
   </tr>
   <tr>
      <th  scope="row"><label for="activation"><fmt:message key="label.activationCode"/></label></th>
      <td>
       <input type="text" name="activationCode" value="<c:out value="${model.user.activationCode}"/>"/>
      </td>
    </tr>
  </table>
  <br>
  <div class="action_bar">
  	<input type="button" class="puls" value="<fmt:message key="label.save"/>" onclick="sendFormForAction('<c:url value="/user/activateUser.htm"/>','activateForm','body','activateUser');">
  </div>
</form>
</div>
	
	